/*    */ package com.feeyin.radar.sys.service;
/*    */ 
/*    */ import com.feeyin.radar.commons.Page;
/*    */ import com.feeyin.radar.crm.model.QueryCustomer;
/*    */ import com.feeyin.radar.crm.service.SaleRecordService;
/*    */ import java.io.PrintStream;
/*    */ import org.springframework.beans.factory.BeanFactory;
/*    */ import org.springframework.context.support.ClassPathXmlApplicationContext;
/*    */ 
/*    */ public class TestSaleRecordService
/*    */ {
/*    */   public static void main(String[] args)
/*    */   {
/* 18 */     ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext(
/* 19 */       new String[] { "context/applicationContext.xml" });
/* 20 */     BeanFactory factory = appContext;
/*    */ 
/* 22 */     SaleRecordService saleRecordService = (SaleRecordService)factory.getBean("saleRecordService");
/*    */ 
/* 24 */     QueryCustomer queryCustomer = new QueryCustomer();
/* 25 */     queryCustomer.setSaleStageId(Integer.valueOf(1));
/*    */ 
/* 27 */     Page page = new Page();
/* 28 */     page.setPageStartRow(0);
/* 29 */     page.setPageEndRow(100);
/* 30 */     System.out.println("count = " + saleRecordService.getPageMySaleRecordCustomers(null, Integer.valueOf(3), page, queryCustomer));
/*    */   }
/*    */ }

/* Location:           C:\Users\e547415\MyProject\rone\WEB-INF\classes\
 * Qualified Name:     com.feeyin.radar.sys.service.TestSaleRecordService
 * JD-Core Version:    0.6.0
 */